//
//  CZNewFeatureCell.m
//  A01-CZ彩票
//
//  Created by apple on 15/6/17.
//  Copyright (c) 2015年 itcast. All rights reserved.
//

#import "CZNewFeatureCell.h"
#import "CZTabBarController.h"
@interface CZNewFeatureCell ()
@property (weak, nonatomic) IBOutlet UIImageView *backgroudView;
@property (weak, nonatomic) IBOutlet UIButton *startView;

@end

@implementation CZNewFeatureCell



//设置背景图片
- (void)setImageName:(NSString *)imageName{

    self.backgroudView.image = [UIImage imageNamed:imageName];

}
- (IBAction)startClicked:(id)sender {
    CZTabBarController *vc = [CZTabBarController new];
    [UIApplication sharedApplication].keyWindow.rootViewController = vc;
}

//设置按钮显示或者隐藏
- (void)setStartViewHidden:(BOOL)hidden{
    self.startView.hidden = hidden;
}


@end
